package com.zwps.common.core.enums;

import com.zwps.common.tool.enums.InterfaceEnum;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum LogTypeEnum implements InterfaceEnum<Integer> {

    AUTH(1, "身份认证"), OPERATE(2, "其它");

    /**
     * 编码
     */
    private Integer code;

    /**
     * 名称
     */
    private String name;

    @Override
    public String getTypeName() {
        return "日志类型";
    }
}
